
#include <math.h>
#include <dirent.h>
#include <sys/stat.h>

#include "rstatd.h"

Err rp_rstatd_info(Info *info);
Err rp_rstatd_info_load(Info *info);
Err rp_rstatd_info_sys(Info *info);
Err rp_rstatd_info_net(Info *info);
Err rp_rstatd_info_cpu(Info *info);
Err rp_rstatd_info_mem(Info *info);
Err rp_rstatd_info_disk(Info *info);
Err rp_rstatd_info_file(Fvector *fv, char *path);
Err rp_rstatd_info_score(Scoreboard *scoreboard);

Fvector *rp_rstatd_fv_init(int size);
Err rp_rstatd_fv_destory(Fvector *fv);
Err rp_rstatd_fv_add(Fvector * fv, File * file);
Err rp_rstatd_fv_remove(Fvector * fv, char * filename);
	
